package day10;

public class Demo01 {
    public static void main(String[] args) {
        //泛型
//        Person<String> p = new Person();
//        p.setData("多多");
//        xxx("nice");//nice
    }

    //泛型方法
//    public static <A> void xxx(A a){
//        System.out.println(a);
//    }
}

interface Fruit{}
class Apple implements Fruit{}
class Plate <T>{}
